﻿<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ include file="basePath.jsp"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>

<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<title>个人中心</title>
	<!-- Fav  Icon Link -->
	<link rel="shortcut icon" type="image/png" href="${basePath}afsets/images/fav.png">
	<!-- Bootstrap core CSS -->
	<link rel="stylesheet" href="${basePath}afsets/css/bootstrap.min.css">
	<!-- themify icons CSS -->
	<link rel="stylesheet" href="${basePath}afsets/css/themify-icons.css">
	<!-- Animations CSS -->
	<link rel="stylesheet" href="${basePath}afsets/css/animate.css">
	<!-- Main CSS -->
	<link rel="stylesheet" href="${basePath}afsets/css/styles.css">
	<link rel="stylesheet" href="${basePath}afsets/css/green.css" id="style_theme">
	<link rel="stylesheet" href="${basePath}afsets/css/responsive.css">
	<!-- morris charts -->
	<link rel="stylesheet" href="${basePath}afsets/charts/css/morris.css">
	<!-- jvectormap -->
	<link rel="stylesheet" href="${basePath}afsets/css/jquery-jvectormap.css">
	<link rel="stylesheet" href="${basePath}afsets/datatable/dataTables.bootstrap4.min.css">

	<script src="${basePath}afsets/js/modernizr.min.js"></script>
</head>

<body>
	<!-- Pre Loader -->
	<div class="loading">
		<div class="spinner">
			<div class="double-bounce1"></div>
			<div class="double-bounce2"></div>
		</div>
	</div>
	<!--/Pre Loader -->
	<!-- Color Changer -->
	<div class="theme-settings" id="switcher">
		<span class="theme-click">
			<span class="ti-settings"></span>
		</span>
		<span class="theme-color theme-default theme-active" data-color="green"></span>
		<span class="theme-color theme-blue" data-color="blue"></span>
		<span class="theme-color theme-red" data-color="red"></span>
		<span class="theme-color theme-violet" data-color="violet"></span>
		<span class="theme-color theme-yellow" data-color="yellow"></span>
	</div>
	<!-- /Color Changer -->
	<div class="wrapper">
		<!-- Page Content -->
		<div id="content">
				<!-- /Top Navigation -->
				<!-- Menu -->
				<div class="container menu-nav">
					<nav class="navbar navbar-expand-lg lochana-bg text-white">
						<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent"
						 aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
							<span class="ti-menu text-white"></span>
						</button>
				
						<div class="collapse navbar-collapse" id="navbarSupportedContent">
							<ul class="navbar-nav mr-auto">
								
							</ul>
						</div>
					</nav>
				</div>
			<!-- /Page Title -->

			<!-- /Breadcrumb -->
			<!-- Main Content -->
			<div class="container">

                <div class="row">
                    <!-- Widget Item -->
                    <div class="col-md-12">
                        <div class="widget-area-2 lochana-box-shadow">
                            <h3 class="widget-title">详细信息</h3>
                            <div class="row no-mp">
                                <div class="col-md-12">
                                    <div class="table-responsive">
                                        <table class="table table-bordered table-striped">
                                            <tbody>
                                                <tr>
                                                    <td><strong>姓名</strong></td>
                                                    <td>${sessionScope.msg.name}</td>
                                                </tr>
<%--                                                <tr>--%>
<%--                                                    <td><strong>性别</strong></td>--%>
<%--                                                    <td>${sessionScope.msg.sex}</td>--%>
<%--                                                </tr>--%>
                                                <tr>
                                                    <td><strong>电话</strong></td>
                                                    <td>${sessionScope.msg.phone}</td>
                                                </tr>
<%--                                                <tr>--%>
<%--                                                    <td><strong>身份证号</strong></td>--%>
<%--                                                    <td>${sessionScope.msg.idcard}</td>--%>
<%--                                                </tr>--%>
                                            </tbody>
                                        </table>
                                    </div>
<%--                                    <button style="background-color: #3CB371;color:white" class="update">修改</button>--%>
                                    <button style="background-color: #3CB371;color:white" class="tuichu"><a href="${basePath}totuichu/tuichu">退出</a></button>
                                </div>
                            </div>
                
                        </div>
                    </div>

                    <!-- /Widget Item -->
                    <!-- Widget Item -->
                    <div class="col-md-12">
                        <div class="widget-area-2 lochana-box-shadow">
                            <h3 class="widget-title">挂号信息</h3>
                            <div class="table-responsive">
                                <table class="table table-bordered table-striped">
                                    <thead>
                                        <tr>
                                            <th>编号</th>
                                            <th>患者姓名</th>
                                            <th>所挂科室</th>
                                            <th>医生姓名</th>
                                            <th>预约时间</th>
                                            <th>挂号状态</th>

                                        </tr>
                                    </thead>
                                    <tbody>
                                    <c:forEach items="${registerList}" var="registerList">
                                        <tr>
                                            <td>${registerList.id}</td/>
                                            <td>${registerList.name}</td>
                                            <td>${registerList.deptName}</td>
                                            <td>${registerList.dname}</td>
                                            <td>${registerList.createTime}</td>
                                            <td>${registerList.state}</td>
                                        </tr>
                                    </c:forEach>
                                    </tbody>
                                </table>
                                <!-- /Export links-->
                            </div>
                        </div>
                    </div>
                    <!-- /Widget Item -->
                </div>
			</div>
			<!-- /Main Content -->
			<!--Copy Rights-->
			<div class="container">
				<div class="d-sm-flex justify-content-center">
				  <span class="text-muted text-center d-block d-sm-inline-block">Copyright © 2018 <a href="#" target="_blank">konnectcode</a>. All rights reserved.</span> 更多模板：<a href="http://www.mycodes.net/" target="_blank">源码之家</a>
				</div>
			</div>
			<!-- /Copy Rights-->
		</div>
		<!-- /Page Content -->
	</div>
	<!-- Back to Top -->
	<a id="back-to-top" href="#" class="back-to-top">
		<span class="ti-angle-up"></span>
	</a>
	<!-- /Back to Top -->
	<!-- Jquery Library-->
	<script src="${basePath}afsets/js/jquery-3.2.1.min.js"></script>
	<!-- Popper Library-->
	<script src="${basePath}afsets/js/popper.min.js"></script>
	<!-- Bootstrap Library-->
    <script src="${basePath}afsets/js/bootstrap.min.js"></script>
    
    <!-- Datatable  -->
	<script src="${basePath}afsets/datatable/jquery.dataTables.min.js"></script>
	<script src="${basePath}afsets/datatable/dataTables.bootstrap4.min.js"></script>
    
	<!-- Custom Script-->
	<script src="${basePath}afsets/js/custom.js"></script>

</body>

</html>